import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home'
import Music from '../views/Music'
Vue.use(VueRouter)

const router = new VueRouter({
    routes:[
        { path: '/home', component: Home },
        { path: '/music', component: Music}
    ],
    mode:'history'
})


export default router